home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR10 / MAPEDIT.ZIP / SAMPGAME / CYBER.H < prev    next >
C/C++ Source or Header  |  1992-04-11  |  812b  |  47 lines

  1. #include <dos.h>
  2. #include <bios.h>
  3. #include <stdio.h>
  4. #include <malloc.h>
  5. #include <stdarg.h>
  6.  
  7. unsigned int chkmouse(unsigned int x,unsigned int y);
  8.  
  9. #define scrptr (char far *)0xA0000000
  10. #define putxys(a,b,c)  fputxys(a*8,b*8,c)
  11. #define waitup() while(mousebuttons())
  12. #define TWOXS 200
  13. #define TWOXE 303
  14. #define TWOYS 24
  15. #define TWOYE 136
  16.  
  17. struct token_struct {
  18.     unsigned int minx;
  19.     unsigned int maxx;
  20.     unsigned int miny;
  21.     unsigned int maxy;
  22.     unsigned int token;
  23. };
  24.  
  25. char far *bufptr;
  26. char far *csptr;
  27. int far *mapptr;
  28.  
  29.  
  30.  
  31. struct sprite_struct {
  32.     int width;
  33.     int height;
  34.     FILE * start;
  35.     int xs;
  36.     int ys;
  37.     char *pict;
  38.     char name[20];
  39.     char dummy[20];
  40. }si[100];
  41.  
  42. struct db_info {
  43.     int num_sprites;
  44.     char dummy[1000];
  45. }db;
  46.  
  47.